﻿using DemountCIM.Framework.DataBase.Table;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WFDataBase;

namespace DemountCIM.Framework.DataBase
{
    public interface IUserRepository : IBaseRepository<TbUser>
    {
        bool UserLogin(string name, string password);

        bool GetCurUser(ref TbUser curUser);

        bool ModifyUserInfo(TbUser user);

        bool UserLogout();

        bool AddUserInfo(TbUser user);

        bool DeleteUserInfo(TbUser user);
    }
}
